# Test web-app to use with Pluralsight courses and Docker Deep Dive book
# Linux x64
FROM node:14.17.3-alpine

LABEL maintainer="ProsperLee"

# Install Node and NPM
# RUN apk add --update nodejs nodejs-npm

# Copy app to /src
COPY . /src

WORKDIR /src

# Install dependencies
RUN  npm install

EXPOSE 3000

ENTRYPOINT ["node", "./bin/www"]
